import request from "@/utils/request";

// 待审核
// 获取列表
export function getAllList(query) {
    return request({
      url: "/reportCheck/page",
      method: "get",
      params: query,
    });
  }
  
  
  // 通过 审核
  export function pass(query) {
    return request({
      url: "/reportCheck/audit",
      method: "post",
      data: query,
    });
  }

  // 取消上传的审核
  export function cancelCheck(data) {
    return request({
      url: "/reportCheck/cancelAudit",
      method: "post",
      data: data,
    });
  }

// 审核记录
// 获取列表
export function getAllLists(query) {
    return request({
      url: "/reportCheck/recordPage",
      method: "get",
      params: query,
    });
  }